package com.timo.redis.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.concurrent.TimeUnit;

/**
 * @Description: Redis过期时间实体类
 * @Author: timo
 * @Date: 2019/8/28 11:57
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExpireTimeUnit {
    private Long expire = 180L;
    private TimeUnit timeUnit = TimeUnit.MINUTES;
}
